package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.IotEnterpriseDTO;
import com.hunttown.mes.rpc.domain.query.IotEnterpriseDTOQuery;

/**
 * created by wangjunfu on 2020-10-05 16:34:03
 */
public interface IotEnterpriseRpcService {

    IotEnterpriseDTO insert(IotEnterpriseDTO iotEnterpriseDTO);

    Boolean updateInfoById(IotEnterpriseDTO iotEnterpriseDTO);

    Boolean updateInfoByQuery(IotEnterpriseDTOQuery iotEnterpriseDTOQuery);

    IotEnterpriseDTO selectById(Integer id);

    IotEnterpriseDTO selectObjByQuery(IotEnterpriseDTOQuery iotEnterpriseDTOQuery);

    Page<IotEnterpriseDTO> getListForPage(IotEnterpriseDTOQuery iotEnterpriseDTOQuery);

    Boolean deleteById(Integer id);
}